from django.conf.urls import url
from apps.user.views import (GetEmailCode,
                             Login,
                             Register,
                             Info)

urlpatterns = [
    url(r'^get_email_code$', GetEmailCode.as_view(), name='get_email_code'),  # 获取邮箱验证码
    url(r'^login$', Login.as_view(), name='login'),  # 登录
    url(r'^register$', Register.as_view(), name='register'),  # 注册
    url(r'^info$', Info.as_view(), name='info'),  # 获取用户信息
]
